/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */

package com.intelligent.ispc.client.event;

/**
 * Created by Peter on 2016/7/26.
 */
public class StatusBarProcessFinishTaskEvent {
    private String taskName;
    private boolean isVisible = true;

    /**
     * Constructor.
     *
     * @param taskName String
     */
    public StatusBarProcessFinishTaskEvent(String taskName) {
        this.taskName = taskName;
    }

    /**
     * Constructor.
     *
     * @param taskName  String
     * @param isVisible boolean true means show dialog default.
     */
    public StatusBarProcessFinishTaskEvent(String taskName, boolean isVisible) {
        this.taskName = taskName;
        this.isVisible = isVisible;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public boolean isVisible() {
        return isVisible;
    }

    public void setVisible(boolean visible) {
        isVisible = visible;
    }
}
